/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.fyx.cms.ejb;

import java.util.List;
import org.fyx.cms.entity.CmsArticle;

/**
 *
 * @author ydenek
 */
interface Cms {

    void addArticle(CmsArticle ca);
    
    void editArticle(CmsArticle ca);
    
    void deleteArticle(CmsArticle ca);
    
    /**
     * Vraci list vsech clanku.
     * @return 
     */
    List<CmsArticle> getArticles();
    
    public CmsArticle getArticleById(int idArticle);
    
}
